{% load reputation_access_control %}
{% load modcontext %}
{% load ajax %}

{% static_with vote_down_ model as prefix %}
{% static_with _ node.id as suffix %}
    {% if has_access %}
        <div class='vote'>
            <a id='vote_down_{{model}}_{{node.id}}' 
                href='#' data="{target:'{{model}}_{{node.id}}_vote_wrapper', link:'{% url vote node_content_type,node.id,"down", vote_class %}'}" title='This game is boring'>
                [-]
            </a>
        </div>
        {% ajax_update prefix suffix %}
    {% else %}
       <a id='vote_down_{{model}}_{{node.id}}' title='#' href='#' rel='#reputation_overlay'>
            [-]
        </a>
        {% update_deny_message prefix suffix reputation_overlay_content vote_down %}
        {% reputation_overlay prefix suffix %}
    {% endif %}
{% endstatic_with %}
{% endstatic_with %}
